n = 153
i = n/100
i = int(i)
print(i)
j = n/10%10
j = int(j)
print(j)
k = n%10
print(k)
result = i**3 + j**3 + k**3
print(result)
if result == n:
    print(n, end="")
    print("是水仙花数")
else:
    print(n, end="")
    print("不是水仙花数")